<?php
$id = 777;
if (isset($_GET['id'] )){
	$id=$_GET['id']; //we getting the id from the other php file
	}
header("Content-type:text/xml");
echo "<?xml version='1.0' encoding='UTF-8'?>";
echo "<mymessages>";
echo "<massage>";
echo "<to>alex</to>";
echo "<subject>web class</subject>";
echo "</massage>";
echo "</mymessages>";

?>